Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Medico-Legal Case Toggle and Filter #1669

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Add Medico-Legal Case Toggle and Filter #1669

merged 3 commits into from
Oct 16, 2023

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Oct 11, 2023

Frontend PR: ohcnetwork/care_fe#6440

Proposed Changes

This PR introduces a medico-legal case toggle and filter functionality. A total of 4 files have been modified with 32 additions and 3 deletions. The affected files include:

  • patient_consultation.py in the serializers of the facility API
  • patient.py in the viewsets of the facility API
  • Migration file 0390_patientconsultation_medico_legal_case.py
  • patient_consultation.py in the models of the facility.

Associated Issue

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (5dff7a0) 59.44% compared to head (902d3dd) 59.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1669      +/-   ##
==========================================
+ Coverage   59.44%   59.57%   +0.13%     
==========================================
  Files         208      208              
  Lines       11278    11285       +7     
  Branches     1597     1598       +1     
==========================================
+ Hits         6704     6723      +19     
+ Misses       4372     4358      -14     
- Partials      202      204       +2     
Files Coverage Δ
care/facility/api/viewsets/patient.py 62.32% <100.00%> (+0.13%) ⬆️
care/facility/models/patient_consultation.py 95.12% <100.00%> (+0.06%) ⬆️
...e/facility/api/serializers/patient_consultation.py 56.53% <66.66%> (+4.01%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nihal467
Copy link
Member

LGTM

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, add tests

@Ashesh3
Copy link
Member Author

Ashesh3 commented Oct 16, 2023

LGTM, add tests

Added!

@vigneshhari vigneshhari merged commit a1dc62c into master Oct 16, 2023
7 checks passed
@vigneshhari vigneshhari deleted the medico-legal branch October 16, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants